package com.wlts.wzy.LMGoodsModule.entity;

import com.wlts.wzy.Base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * LM商品详细表
 * </p>
 *
 * @author zhiyong
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="LmGoodsDetails对象", description="LM商品详细表")
public class LmGoodsDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    private Long itemId;

    @ApiModelProperty(value = "商品标题")
    private String itemTitle;

    @ApiModelProperty(value = "轮播图地址")
    private String itemImages;

    @ApiModelProperty(value = "主图地址")
    private String mainPicPrl;

    @ApiModelProperty(value = "商品详细路径")
    private String descPath;

    private Long minPrice;

    private Long minPoints;

    @ApiModelProperty(value = "库存")
    private Integer quantity;

    @ApiModelProperty(value = "商品在tmall的销量")
    private Long totalSoldQuantity;

    @ApiModelProperty(value = "产品参数")
    private String properties;

    @ApiModelProperty(value = "是否包邮")
    private Boolean sellerPayPostfee;

    @ApiModelProperty(value = "产品参数")
    private String propertiesJson;

    @ApiModelProperty(value = "商品详情⻚商品名称下⾯的三列属性")
    private String iforestPropsJson;

    @ApiModelProperty(value = "商品详情")
    private String descOption;

    @ApiModelProperty(value = "淘宝店铺名称")
    private String tbShopName;

    @ApiModelProperty(value = "linkedmall类目")
    private String lmItemCategory;

    private String customizedAttributeMap;

    @ApiModelProperty(value = "卖家类型: 0-淘宝卖家, 1-天猫卖家")
    private Integer sellerType;

    @ApiModelProperty(value = "视频链接地址")
    private String videoUrl;

    @ApiModelProperty(value = "视频头图链接地址")
    private String videoPicUrl;

    @ApiModelProperty(value = "商详页显示的划线价 单位分")
    private Long reservePrice;

    @ApiModelProperty(value = "最后一级的类目ID，之后会提供类目查询接口来获取 商品所属类目信息")
    private Long categoryId;

    @ApiModelProperty(value = "是否可售卖")
    private Boolean canSell;

    @ApiModelProperty(value = "规格数组")
    private String skus;

    @ApiModelProperty(value = "额外json")
    private String extJson;

    @ApiModelProperty(value = "卖家ID")
    private Long sellerId;

    @ApiModelProperty(value = "linkedmall商品ID")
    private String lmItemId;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "备注信息")
    private String remarks;


}
